package com.huiquan.framework.constant;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @Description:静态配置
 * @author rocky xu
 *
 */
public enum StaticDataCode {

	ANALYSIS_FIXED_AMOUNT_COUNT("ANALYSIS_FIXED_AMOUNT_COUNT", "固定收益总价"),

	ANALYSIS_BONUS_COUNT("ANALYSIS_BONUS_COUNT", "奖金总价"),

	ANALYSIS_LABEL_SCALE("ANALYSIS_LABEL_SCALE", "标注人员固定收益系数"),

	ANALYSIS_CHECK_SCALE("ANALYSIS_CHECK_SCALE", "校验人员固定收益系数"),

	ANALYSIS_CHECK_PERSON_NUM("ANALYSIS_CHECK_PERSON_NUM", "校验人员个数"),

	ANALYSIS_CHECK_TRACK_ACCURACY("ANALYSIS_CHECK_TRACK_ACCURACY", "校验人员埋点准确率"),

	ANALYSIS_LABEL_TRACK_ACCURACY("ANALYSIS_LABEL_TRACK_ACCURACY", "标注人员埋点准确率");

	private String codeType;

	private String desc;

	private StaticDataCode(String codeType, String desc) {
		this.codeType = codeType;
		this.desc = desc;
	}

	public boolean idEquals(String codeType) {
		return this.codeType.equals(codeType);
	}

	public String getDesc() {
		return desc;
	}

	public String getCodeType() {
		return codeType;
	}
	
	public static List<String> getHadesCode(){
		List<String> codeList = new ArrayList<>();
		codeList.add(ANALYSIS_FIXED_AMOUNT_COUNT.getCodeType());
		codeList.add(ANALYSIS_BONUS_COUNT.getCodeType());
		codeList.add(ANALYSIS_LABEL_SCALE.getCodeType());
		codeList.add(ANALYSIS_CHECK_SCALE.getCodeType());
		codeList.add(ANALYSIS_CHECK_PERSON_NUM.getCodeType());
		codeList.add(ANALYSIS_CHECK_TRACK_ACCURACY.getCodeType());
		codeList.add(ANALYSIS_LABEL_TRACK_ACCURACY.getCodeType());
		return codeList;
	}
	
}
